/* 数据库连接 */
import { mysqlOption } from '../config/setting'
const mysql = require('mysql')
module.exports = () => {
  let pool = mysql.createPool(mysqlOption)
  return pool
}